package com.wanma.recuit.mapper;

import com.wanma.recuit.pojo.User;

public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    String findPhone(String phone);
    int registUser(User user);
    User loginUser(User user);

    void updateUser(User user);
}